﻿using System.Configuration;

namespace Sustainalytics.ESGRatings.Computing.Service
{
    public class HostConfig
    {
        public static string GetHostUrl()
        {
            string url = ConfigurationManager.AppSettings["httpHostUrl"];
//#if !DEBUG
//            var uriBuilder = new UriBuilder(url);
//            uriBuilder.Scheme = Uri.UriSchemeHttps;
//            uriBuilder.Port = Int32.Parse(ConfigurationManager.AppSettings["httpsPort"]);
//            url = uriBuilder.Uri.ToString();
//#endif
            return url;
        }
    }
}
